// 数据字典 - 收集各种公用的下拉框选项等

// 资产类型
const assetsTypeOptionsArr = [
  {
    value: 1,
    label: "农贸市场",
  },
  {
    value: 2,
    label: "商业(绿道)",
  },
  {
    value: 3,
    label: "商业(商铺)",
  },
  {
    value: 4,
    label: "写字楼",
  },
  {
    value: 5,
    label: "综合体",
  },
  {
    value: 6,
    label: "其他",
  },
];

// 资产取得方式
const assetsGetTypeOptionsArr = [
  {
    label: "政府划拨",
    value: 1,
  },
  {
    label: "委托经营",
    value: 2,
  },
  {
    label: "租借",
    value: 3,
  },
  {
    label: "自建",
    value: 4,
  },
  {
    label: "有偿转让",
    value: 5,
  },
];

// 资产状态 1：在用。下拉选择时只可选择以下两种状态
const assetsStateOptionsArr = [
  // {
  //   label: "闲置",
  //   value: 0,
  // },
  {
    label: "可用",
    value: 2,
  },
  {
    label: "停用",
    value: -1,
  },
];
// 业务单元
const businessUnitArr = [
  { value: 1, label: "综合管理部" },
  { value: 2, label: "财务金融部" },
  { value: 3, label: "纪检监察部" },
  { value: 4, label: "开发建设部" },
  { value: 5, label: "投资发展部" },
  { value: 6, label: "招标合约部" },
  { value: 7, label: "数字科技部" },
  { value: 8, label: "设计部" },
  { value: 9, label: "文体事业部" },
  { value: 10, label: "邻里中心事业部" },
  { value: 11, label: "社区商业事业部" },
  { value: 12, label: "社区商业事业二部" },
  { value: 13, label: "文创传媒公司" },
  { value: 14, label: "养老事业部" },
  { value: 15, label: "体育公司" },
  { value: 16, label: "佳医医学检验实验室" },
  { value: 17, label: "领创公司" },
  { value: 18, label: "托育公司" },
  { value: 19, label: "医疗公司" },
  { value: 20, label: "领川置业公司" },
];

// 房源用途
const houseUsingTypeOptionArr = [
  {
    value: 1,
    label: "出租",
  },
  {
    value: 2,
    label: "自用",
  },
  {
    value: 3,
    label: "出借",
  },
  {
    value: 4,
    label: "移交",
  },
  {
    value: 5,
    label: "委托运营",
  },
];

// 房源所属业态
const houseBusinessTypeOptions = [
  {
    value: 1,
    label: "养老",
  },
  {
    value: 2,
    label: "教育",
  },
  {
    value: 3,
    label: "医疗",
  },
  {
    value: 4,
    label: "农贸",
  },
  {
    value: 5,
    label: "综合体",
  },
  {
    value: 6,
    label: "文&体",
  },
  {
    value: 7,
    label: "绿道",
  },
  {
    value: 8,
    label: "子公司",
  },
  {
    value: 20,
    label: "其他",
  },
];

// 房源状态
const houseStateOptionsArr = [
  {
    label: "停用",
    value: -1,
  },
  {
    label: "占用",
    value: 1,
  },
  {
    label: "闲置",
    value: 0,
  },
  {
    label: "已出租",
    value: 2,
  },
];

// 物业类型筛选
const propertyTypeOptionsArr = [
  { value: "", label: "全部" },
  { value: 1, label: "综合体" },
  { value: 2, label: "农贸市场" },
  { value: 3, label: "商铺" },
];

// 业务场景筛选
const BusinessSceneOptionsArr = [
  { value: "", label: "全部" },
  { value: 1, label: "新/续签" },
  { value: 2, label: "退租" },
];

// 竞租方式
const competeTypeOptionsArr = [
  // 产品 5.23 要求对新租表单的竞租方式进行更改
  // { value: 1, label: "线下竞租" },
  // { value: 2, label: "公开竞租" },
  { value: 1, label: "公开招租" },
  { value: 2, label: "协议招租" },
  { value: 3, label: "其他" },
  { value: 4, label: "续租" },
];

// 招聘方式
const recruitTypeOptionsArr = [
  {
    value: 0,
    label: "全部",
  },
  {
    value: 1,
    label: "自招",
  },
  {
    value: -1,
    label: "非自招",
  },
];

// 付款方式
const payTypeOptionsArr = [
  { value: 1, label: "按月支付" },
  { value: 2, label: "按季支付" },
  { value: 3, label: "按半年支付" },
  { value: 4, label: "按年支付" },
];

// 签约方式
const signTypeOptionsArr = [
  { value: 1, label: "新签" },
  { value: 2, label: "续签" },
];

// 组件缴纳方式
const rentPaymentTypeOptionsArr = [
  { value: "", label: "全部" },
  { value: 1, label: "已逾期" },
  { value: 2, label: "近7天应缴租金" },
  { value: 3, label: "近1月应缴租金" },
];

const invoiceType = [
  { value: 1, label: "专票" },
  { value: 2, label: "普票" },
];

const projectStatus = [
  { value: '', label: "全部" },
  { value: -2, label: "未开始" },
  { value: -1, label: "停工" },
  { value: 1, label: "进行中" },
  { value: 2, label: "已完成" },
  { value: 3, label: "其他" },
]

// 招标(比选)方式
const competitiveBiddingStatusOptions = [
  { value: "", label: "全部" },
  { value: "1", label: "公开招标" },
  { value: "2", label: "公开竞争性谈判" },
  { value: "3", label: "公开竞争性磋商" },
  { value: "4", label: "择优比选" },
  { value: "5", label: "单一来源采购(公开)" },
  { value: "6", label: "邀请竞争性谈判" },
  { value: "7", label: "邀请竞争性磋商" },
  { value: "8", label: "择优询价" },
  { value: "9", label: "单一来源采购(非公开)" },
  { value: "10", label: "简易询价" },
  { value: "11", label: "直接委托" },
];

// 流程节点状态
const nodeStatusOptions = [
  { value: -1, label: "未开始" },
  { value: 1, label: "进行中" },
  { value: 2, label: "已完成" },
];
// 审批状态 1:待审核 2:审核成功 3:审核驳回")
const auditStatusOptions = [
  { value: "1", label: "审核中" },
  { value: "2", label: "审核成功" },
  { value: "3", label: "审核驳回" },
];
// 流程节点状态
const taskStatusOptions = [
  { value: "-1", label: "未开始",color: '#CC7516' },
  { value: "1", label: "待配置",color:'#7579E1' },
  { value: "2", label: "进行中",color:'#FC7018' },
  { value: "3", label: "已完成",color: '#666666' },
];
// 服务单位产生方法
const selectionTypeOptions = [
  { value: 1, label: "公开招标" },
  { value: 2, label: "公开竞争性谈判" },
  { value: 3, label: "公开竞争性磋商" },
  { value: 4, label: "择优比选" },
  { value: 5, label: "单一来源采购（公开）" },
  { value: 6, label: "邀请竞争性谈判" },
  { value: 7, label: "邀请竞争性磋商" },
  { value: 8, label: "择优询价" },
  { value: 9, label: "单一来源采购（非公开）" },
  { value: 10, label: "简易询价" },
  { value: 11, label: "直接委托" },
];
// 合同结算方式 评标类型
const bidEvaluationTypeOptions = [
  { value: 1, label: "综合评分法" },
  { value: 2, label: "经评审的最低报价法" },
  { value: 3, label: "最低评标价法" },
];
// 评判办法
const contractSettlementTypeOptions = [
  { value: 1, label: "包干总价" },
  { value: 2, label: "按实结算" },
  { value: 3, label: "按实核算" },
];
// 公开状态
const publicStatusOptions = [
  { value: -1, label: "非公开" },
  { value: 1, label: "公开" },
];

const approvalStatus = [
  { value: "", label: "全部" },
  { value: "1", label: "审核中" },
  { value: "2", label: "审核成功" },
  { value: "3", label: "审核驳回" },
];

const approvalFormCategory = [
  { value: "", label: "全部" },
  { value: "11", label: "比选会审" },
  { value: "12", label: "中标结果会审" },
  { value: "13", label: "中标合同会审" },
];

// 托育板块 - 服务类型
// 根据接口设计，传参为直接传字符串
const serviceTypeOptionsArr = [
  "全部",
  "全日拖(月)",
  "体验卡(周)",
  "计时拖(小时)",
  "计时拖(次)",
  "延时服务(天)",
  "半日托(月)",
];

const iconImgObj = [
  {
    name:'ycgk',
    value: require("@/assets/iconImg/ycgk.png")
  },
  {
    name:'zcjygl',
    value: require("@/assets/iconImg/zcjygl.png"),
  },
  {
    name:'zbxmgl',
    value: require("@/assets/iconImg/zbxmgl.png"),
  },
  {
    name:'ycMenuIcon',
    value: require("@/assets/iconImg/ycMenuIcon.png"),
  },
  {
    name:'gcjsgl',
    value: require("@/assets/iconImg/gcjsgl.png"),
  },
  {
    name:'jsxmgl',
    value: require("@/assets/iconImg/jsxmgl.png"),
  },
  {
    name:'invest-menu-icon',
    value: require("@/assets/iconImg/invest-menu-icon.png"),
  },
  {
    name:'xtsz',
    value: require("@/assets/iconImg/xtsz.png"),
  },
];

// 托育板块 - 费用类型
// 根据接口设计，传参为直接传字符串
const expenseTypeOptionsArr = ["全部", "保教费", "伙食费", "其他费用"];

// 业财管理
// 投融资项目状态
const statusOfMaintennance = [
  {
    label: '前期准备',
    value: 'PREPARE',
  },
  {
    label: '在建',
    value: 'BUILDING',
  },
  {
    label: '中止',
    value: 'SUSPEND',
  },
  {
    label: '终止',
    value: 'TERMINATION',
  },
  {
    label: '已完成',
    value: 'COMPLETE',
  },
]

const recordType = {
  'AUTO': '自动同步',
  'USER': '手动填报'
}

export {
  assetsTypeOptionsArr,
  assetsGetTypeOptionsArr,
  assetsStateOptionsArr,
  propertyTypeOptionsArr,
  BusinessSceneOptionsArr,
  competeTypeOptionsArr,
  payTypeOptionsArr,
  signTypeOptionsArr,
  houseUsingTypeOptionArr,
  houseBusinessTypeOptions,
  houseStateOptionsArr,
  recruitTypeOptionsArr,
  rentPaymentTypeOptionsArr,
  invoiceType,
  projectStatus,
  competitiveBiddingStatusOptions,
  nodeStatusOptions,
  taskStatusOptions,
  auditStatusOptions,
  selectionTypeOptions,
  bidEvaluationTypeOptions,
  contractSettlementTypeOptions,
  publicStatusOptions,
  approvalStatus,
  businessUnitArr,
  approvalFormCategory,
  serviceTypeOptionsArr,
  expenseTypeOptionsArr,
  iconImgObj,
  statusOfMaintennance,
  recordType,
};
